package org.example.traffic.videoInfo;

import org.example.traffic.videoInfo.Video;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
public interface VideoRepository extends JpaRepository<Video, Integer> {

    // 分页查询所有视频
    Page<Video> findAll(Pageable pageable);
}
